package cn.glc.daily.life.common.exceptions;

/**
 * 异常返回接口
 *
 * @author simon
 * @date 2020/6/2 14:04
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
public interface Business {
    /**
     * 异常码
     *
     * @return
     */
    String code();

    /**
     * 异常消息
     *
     * @return
     */
    String msg();
}
